package com.nwpu.coursesupport.mapper;


import com.nwpu.coursesupport.entity.ForumPostReply;
import com.nwpu.coursesupport.entity.ForumPostReplyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ForumPostReplyMapper {
    long countByExample(ForumPostReplyExample example);

    int deleteByExample(ForumPostReplyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ForumPostReply record);

    int insertSelective(ForumPostReply record);

    List<ForumPostReply> selectByExampleWithBLOBs(ForumPostReplyExample example);

    List<ForumPostReply> selectByExample(ForumPostReplyExample example);

    ForumPostReply selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ForumPostReply record, @Param("example") ForumPostReplyExample example);

    int updateByExampleWithBLOBs(@Param("record") ForumPostReply record, @Param("example") ForumPostReplyExample example);

    int updateByExample(@Param("record") ForumPostReply record, @Param("example") ForumPostReplyExample example);

    int updateByPrimaryKeySelective(ForumPostReply record);

    int updateByPrimaryKeyWithBLOBs(ForumPostReply record);

    int updateByPrimaryKey(ForumPostReply record);
}